package com.example.design_pattern.decorator;

public class HeaderDecorator extends OrderDecorator {

    public HeaderDecorator(Order order) {
        super(order);
    }

    @Override
    public void print() {
        System.out.println("............打印发票的头部...........");
        order.print();
    }
}
